#include <iostream>
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	if (a>=0 && a<=100 && b>=0 && b<=100 && c>=0 && c<=100)
	{
		if (a>b && a>c)
		{
			if (b>c) cout<<c<<" "<<b<<" "<<a<<endl;
			else cout<<b<<" "<<c<<" "<<a<<endl;
		}
		else if (a<b && a<c) 
		{
			if (b>c) cout<<a<<" "<<c<<" "<<b<<endl;
			else cout<<a<<" "<<b<<" "<<c<<endl;
		}
		else if (a==b || b==c || a==c)
		{
			if (b==c) cout<<c<<" "<<b<<" "<<a<<endl;
			else if(b>c) cout<<c<<" "<<a<<" "<<b<<endl;
			else if(b<c) cout<<b<<" "<<a<<" "<<c<<endl;
			else if(a>c) cout<<c<<" "<<b<<" "<<a<<endl;
			else if(a<c) cout<<a<<" "<<b<<" "<<c<<endl;
			else if(a>b) cout<<c<<" "<<b<<" "<<a<<endl;
			else if(a<b) cout<<a<<" "<<b<<" "<<c<<endl;
		}
		else 
		{
			if (b>c) cout<<c<<" "<<a<<" "<<b<<endl;
			else cout<<b<<" "<<a<<" "<<c<<endl;
		}
	}
	else cout<<"Break!"<<endl;
	return 0;
}

